<template>
  <div>
    <h1>App</h1>
    <Father />
  </div>
</template>

<script>
import Father from "./Father.vue";

export default {
  name: "App",
  components: {
    Father,
  },
  // 提供数据，给后代组件使用
  provide: {
    age: 18,
    name: "静哥",
  },
};
</script>

<style></style>
